package com.zjxu.fair.personal;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.zjxu.fair.R;

public class PurchasedActivity extends AppCompatActivity {
    Button button ;
    TextView status;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_purchased);
        button = findViewById(R.id.getIt);
        status = findViewById(R.id.status);

        button.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                status.setText("已完成");
            }
        });
    }
}